projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18b011a
)
mountoperation-x11: Fix copy/paste thinko
author
Benjamin Otte
<otte@redhat.com>
Thu, 5 Mar 2020 05:14:58 +0000
(06:14 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 5 Mar 2020 06:05:48 +0000
(07:05 +0100)
gtk/gtkmountoperation-x11.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmountoperation-x11.c
b/gtk/gtkmountoperation-x11.c
index 268354f31bc746416a2712ea170e16d8a73b5066..678d54c64af67e4b1ea6fa5bf97764a9ffe7dd90 100644
(file)
--- a/
gtk/gtkmountoperation-x11.c
+++ b/
gtk/gtkmountoperation-x11.c
@@
-882,7
+882,7
@@
get_name_for_window_with_pid (GtkMountOperationLookupContext *context,
endp = NULL;
windowid_window = (Window) g_ascii_strtoll (windowid_value, &endp, 10);
- if (endp != NULL
||
*endp == '\0')
+ if (endp != NULL
&&
*endp == '\0')
{
window = windowid_window;
}